import request from "@/utils/request";

// 查询产品链接列列表
export function listBizSearchInfoDetails(query) {
  return request({
    url: "/biz/bizSearchInfoDetails/list",
    method: "get",
    params: query,
  });
}

// 查询产品链接列详细
export function getBizSearchInfoDetails(id) {
  return request({
    url: "/biz/bizSearchInfoDetails/" + id,
    method: "get",
  });
}

// 新增产品链接列
export function addBizSearchInfoDetails(data) {
  return request({
    url: "/biz/bizSearchInfoDetails",
    method: "post",
    data: data,
  });
}

// 修改产品链接列
export function updateBizSearchInfoDetails(data) {
  return request({
    url: "/biz/bizSearchInfoDetails",
    method: "put",
    data: data,
  });
}

// 删除产品链接列
export function delBizSearchInfoDetails(id) {
  return request({
    url: "/biz/bizSearchInfoDetails/" + id,
    method: "delete",
  });
}

// 查询最大编号
export function findMaxSort() {
  return request({
    url: "/biz/bizSearchInfoDetails/findMaxSort",
    method: "get",
  });
}
// 导出产品链接列
export function exportBizSearchInfoDetails(query) {
  return request({
    url: "/biz/bizSearchInfoDetails/export",
    method: "get",
    params: query,
  });
}
